/*
 * Copyright (c)  2018, XiQiao
 * All rights reserved. 
 *
 * Id:ReadConverter.java   2018-07-26 20:34 wanglijun
 */
package io.marmot.poi.converter;

import io.marmot.poi.exception.ExcelReaderConverterException;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2018
 * </p>
 * <p>
 * Company: XiQiao
 * </p>
 *
 * @author: wanglijun
 * @create: 2018-07-26 20:34
 * @version：1.0
 */
public interface ReadConverter {
    /**
     * 将value转换成指定的值, 读取时映射到实体中
     * @param value
     * @return 转换后的值
     */
    Object convert(Object value) throws ExcelReaderConverterException;
}
